package com.zf.zffencheng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zf.zffencheng.model.dto.AllDeviceDTO;
import com.zf.zffencheng.model.pojo.NtAllDevice;
import com.zf.zffencheng.model.vo.DeviceVo;

/**
 * ClassName: NtDeviceService <br/>
 * Description:  <br/>
 * date: 2021/5/31 10:53<br/>
 *
 * @author william <br/>
 */
public interface NtDeviceService extends IService<NtAllDevice> {
    /**
     * 创建设备
     * @param allDeviceDTO
     * @return
     */
    DeviceVo create(AllDeviceDTO allDeviceDTO);

    /**
     * 查询
     * @param deviceSn
     * @param apiId
     * @return
     */
    NtAllDevice getDeviceSnAndApiId(String deviceSn, Integer apiId);
}
